<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>双辉旅程网</title>
    <link rel='stylesheet prefetch' href='https://res.wx.qq.com/open/libs/weui/1.1.0/weui.min.css'>
    <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
    {load href="/api/js/weui.min.js" /}
    <style type="text/css">
        html, body{
            height: 100%;
        }
        body{
            border-color: #efeff4;
        }
    </style>
</head>
<body>
<div class="weui-tab">
    <div class="weui-tab__panel">
    	<div class="page preview js_show">
		{volist name="orders" id="order" empty="暂时没有数据" }

		<div class="weui-form-preview">
		    <div class="weui-form-preview__hd">
		        <label class="weui-form-preview__label">付款金额</label>
		        <em class="weui-form-preview__value">¥{$order.total_amount}</em>
		    </div>
		    <div class="weui-form-preview__bd">
		        <p>
		            <label class="weui-form-preview__label">订单号</label>
		            <span class="weui-form-preview__value">{$order.number}</span>
		        </p>
		        <p>
		            <label class="weui-form-preview__label">积分</label>
		            <span class="weui-form-preview__value">{$order.total_intergral}</span>
		        </p>
		        <p>
		            <label class="weui-form-preview__label">下单时间</label>
		            <span class="weui-form-preview__value">{$order.created_at}</span>
		        </p>
		        <p>
		            <label class="weui-form-preview__label">出发时间</label>
		            <span class="weui-form-preview__value">{$order.take_car_date}</span>
		        </p>
		        <p>
		            <label class="weui-form-preview__label">结束时间</label>
		            <span class="weui-form-preview__value">{$order.leave_car_date}</span>
		        </p>
		        <p>
		            <label class="weui-form-preview__label">地点</label>
		            <span class="weui-form-preview__value">{$order.take_car_area}</span>
		        </p>
		    </div>
		    <div class="weui-form-preview__ft">
		        <a id="pay" class="weui-form-preview__btn weui-form-preview__btn_primary" href="/order/show?order_id={$order.number}&order_type=order">查看</a>
		    </div>
		</div>
		<br>
		{/volist}
    	</div>

    </div>
    <div class="weui-tabbar">
        <a href="/user/index" class="weui-tabbar__item">
            <img src="http://weui.github.io/weui/images/icon_nav_button.png" alt="" class="weui-tabbar__icon">
            <p class="weui-tabbar__label">我的首页</p>
        </a>
        <a href="/user/car" class="weui-tabbar__item">
            <img src="http://weui.github.io/weui/images/icon_nav_msg.png" alt="" class="weui-tabbar__icon">
            <p class="weui-tabbar__label">我的房车</p>
        </a>
        <a href="/order/index" class="weui-tabbar__item weui-bar__item_on">
            <span style="display: inline-block;position: relative;">
                <img src="http://weui.github.io/weui/images/icon_nav_article.png" alt="" class="weui-tabbar__icon">
            </span>
            <p class="weui-tabbar__label">我的订单</p>
        </a>
        <a href="/user/index?aaa" class="weui-tabbar__item">
            <img src="http://weui.github.io/weui/images/icon_nav_cell.png" alt="" class="weui-tabbar__icon">
            <p class="weui-tabbar__label">我要预约</p>
        </a>
    </div>
</div>


<div id="dialog1" style="display: none;">
    <div class="weui-mask"></div>
    <div class="weui-dialog">
        <div class="weui-dialog__hd"><strong class="weui-dialog__title">充值提示</strong></div>
        <div class="weui-dialog__bd" id='b'>确定充值吗</div>
        <div class="weui-dialog__ft">
            <a id="cen" href="javascript:;" class="weui-dialog__btn weui-dialog__btn_default">取消</a>
            <a id="pay" href="javascript:;" class="weui-dialog__btn weui-dialog__btn_primary">确定</a>
        </div>
    </div>
</div>
<div id="loadingToast" style="display:none;">
    <div class="weui-mask_transparent"></div>
    <div class="weui-toast">
        <i class="weui-loading weui-icon_toast"></i>
        <p class="weui-toast__content">loading...</p>
    </div>
</div>

</body>
</html>